﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HelpContent.ascx.cs" Inherits="controls_admin_HelpContent" %>
<div class="box">
    <div class="title">
        <h5>
            Hướng đẫn sử dụng
        </h5>
        <div class="search" style="width: 400px">
            <div class="input">
                <asp:TextBox ID="txtSearch" runat="server" Width="300" />
            </div>
            <div class="button">
                <asp:Button ID="btnSearch" runat="server" Text="Tìm kiếm" OnClick="btnSearch_Click" />
            </div>
        </div>
    </div>
    <!-- end box / title -->
    <div id="divMessage" runat="server" />
    <div class="form" style="height: auto; padding-bottom: 40px;">
        <div style="margin-bottom: 10px">
            <h2>
                Nội Dung Trợ Giúp
            </h2>
        </div>
        <div>
            <div style="border-bottom: solid 1px #c0c0c0; margin: 10px; padding: 5px">
                <div style="font-size: larger;" id="content" runat="server">
                </div>
            </div>
        </div>
        <div style="text-align: center; margin: 10px">
            <%if (Session["url"] != null)
              {
                  if (Request.UrlReferrer != null)
                  {
                      if (!Request.UrlReferrer.ToString().Equals(Request.Url.ToString()))
                      {
                          Session["url"] = Request.UrlReferrer.ToString();                      
                  
            %>
            <a onclick="history.go(-1);" title="Trang trước">
                <%
}
                      else
                      {
                %>
                <a href='<%=Session["url"].ToString() %>' title="Trang trước">
                    <%   
}
                  }
                  else
                  {                      
                    %>
                    <a onclick="history.go(-1);" title="Trang trước">
                        <%}
              }
              else
              {
                  if (Request.UrlReferrer != null)
                      Session.Add("url", Request.UrlReferrer.ToString());
                  else
                      Session.Add("url", Request.Url.ToString());
                        %>
                        <a href="default.aspx" title="Trang trước">
                            <%} %>
                            <img src="../resources/images/icons/16x16/arrow-return.png" alt="Trang trước" /></a>
                        &nbsp;&nbsp; <a href="default.aspx" title="Trang chủ">
                            <img src="../resources/images/icons/16x16/home.png" alt="Trang chủ" /></a>
        </div>
    </div>
</div>
